﻿using System;
using System.Data.Entity;
using System.Windows.Forms;
using Database.Context;
using QuanLyThongTinCoSo.Forms;
using QuanLyThongTinCoSo.Forms.Phong;
using QuanLyThongTinCoSo.Forms.Role;
using QuanLyThongTinCoSo.Forms.User;

namespace QuanLyThongTinCoSo
{
    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        private static void Main()
        {
            //System.Data.Entity.Database.SetInitializer(new DropCreateDatabaseIfModelChanges<Context>());

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmSplash.ShowSplashScreen();
            Application.Run(new frmDangNhap());
        }
    }
}